package com.samphanie.dries.domain.dto;

import com.samphanie.dries.annotation.ValidPassword;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description:
 * @Author ZSY
 * @createTime 2021/3/3 10:28
 */
@Data
public class PasswordDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private String oldPassword;

    @ValidPassword
    private String newPassword;
}
